package com.shengdong.water.feature.management

import com.alibaba.android.arouter.facade.annotation.Route
import com.hjq.bar.OnTitleBarListener
import com.hjq.bar.TitleBar
import com.shengdong.water.R
import com.shengdong.water.code.base.BaseActivity
import com.shengdong.water.code.config.RouterConfig
import com.shengdong.water.code.router.RouterManager
import com.shengdong.water.databinding.ActivityOperationManagementBinding
import dagger.hilt.android.AndroidEntryPoint

@Route(path = RouterConfig.MANAGE_PATH)
@AndroidEntryPoint
class OperationManagementActivity : BaseActivity<ActivityOperationManagementBinding>() {

    override fun getLayoutId() = R.layout.activity_operation_management

    override fun setupView() {
        setTitle("运维管理")
        setupListener()

    }

    private fun setupListener() {

        binding.layoutManager.setOnClickListener{

        }

        binding.layoutInspection.setOnClickListener {
            RouterManager.navigate(RouterConfig.Management.INSPECT_PATH)
        }

        binding.layoutMonitoring.setOnClickListener {
            RouterManager.navigate(RouterConfig.Management.VIDEO_MONITOR_PATH)
        }
    }

}